package com.sandwich.api.apibean.v1;


import io.swagger.annotations.ApiModelProperty;
import java.sql.Timestamp;

/**
 * @description 分类信息
 * @date 2021-07-28
 */
public class CategoryRequest {

    @ApiModelProperty(value = "pk")
    private long pk;
    @ApiModelProperty(value = "分类名称")
    private String name;
    @ApiModelProperty(value = "平台pk")
    private long globalPlatformPk;
    @ApiModelProperty(value = "0 有效 1无效")
    private int status;
    @ApiModelProperty(value = "created_at")
    private Timestamp createdAt;
    @ApiModelProperty(value = "updated_at")
    private Timestamp updatedAt;

    public CategoryRequest() {
    }

    public long getPk() {
        return pk;
    }

    public void setPk(long pk) {
        this.pk = pk;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getGlobalPlatformPk() {
        return globalPlatformPk;
    }

    public void setGlobalPlatformPk(long globalPlatformPk) {
        this.globalPlatformPk = globalPlatformPk;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }
}